#ifndef MYTCPSERVER_H
#define MYTCPSERVER_H

#include <QTcpServer>
#include <QDebug>

class MyTcpServer : public QTcpServer
{
    Q_OBJECT

private:
    MyTcpServer();

public:
    static MyTcpServer &getInstance();
    void incomingConnection(qintptr socketDescriptor); // 实现父类的虚函数

};

#endif // MYTCPSERVER_H
